/**  
* @author renbangjie renbangjie@126.com  
* @date 2014-11-28 下午1:36:59
* @version V1.0  
* <b>Copyright (c)</b> 2014医信金融信息服务（上海）有限公司-版权所有<br/>
*/
package com.yjd.comm.user.dto;

import com.yjd.comm.enums.GenderEnum;
import com.yjd.comm.user.model.UserModel;

/**
 * 营销短信
 * @author renbangjie renbangjie@126.com
 * @date 2014-11-28 下午1:36:59
 */
public class MarketingUserDto extends UserModel {
	/**
	* @Fields serialVersionUID : TODO
	*/
	private static final long serialVersionUID = 1L;
	
	/**
	 * 性别
	 */
	private Integer sex;
	
	/**
	 * 充值未理财的金额
	 */
	private String balance;
	
	/**
	 * 性别
	 */
	private String gender;
	
	/**
	 * 格式化的生日日期
	 */
	private String formatBirthday;
	
	/**
	 * 注册日期
	 */
	private String formatRegDate;
	
	/**
	 * 用户状态
	 */
	private String status;
	
	/**
	 * 手机号
	 */
	private String mobileNumber;
	
	/**
	 * 证件名称,当card_type为1的时候，该值为会员真实姓名
	 */
	private String idname;
	/**
	 * 类型，1：身份证
	 */
	private Integer card_type;
	/**
	 * 证件号码
	 */
	private String idcard;
	/**
	 * 证件认证次数
	 */
	private Integer idcardnum;
	
	
	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getGender() {
		GenderEnum g = GenderEnum.parse(sex);
		if(g!=null){
			return g.getLabel();
		}
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getFormatBirthday() {
		return formatBirthday;
	}

	public void setFormatBirthday(String formatBirthday) {
		this.formatBirthday = formatBirthday;
	}

	public String getFormatRegDate() {
		return formatRegDate;
	}

	public void setFormatRegDate(String formatRegDate) {
		this.formatRegDate = formatRegDate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMobileNumber() {
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public String getIdname() {
		return idname;
	}

	public void setIdname(String idname) {
		this.idname = idname;
	}

	public Integer getCard_type() {
		return card_type;
	}

	public void setCard_type(Integer card_type) {
		this.card_type = card_type;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public Integer getIdcardnum() {
		return idcardnum;
	}

	public void setIdcardnum(Integer idcardnum) {
		this.idcardnum = idcardnum;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}
	
}
